package com.hanamaki.study.day01;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class ChromeDriverTest {


    public static void main(String[] args) {

        /*2. 注册浏览器打开的位置 */
        System.setProperty("webdriver.chrome.driver", "C:\\Program Files\\Google\\Chrome\\Application\\chromedriver.exe");
        /*1. 注册驱动*/
        WebDriver driver = new ChromeDriver();
        driver.get("https://www.baidu.com");

    }

}
